for a in range(1,10):
    for b in range(1,a+1):
        print("{}×{}={}".format(a,b,a*b),end=' ')
    print()
input('press any key to continue...')